import ThdemandInfo from './ThdemandInfo'
import { StoreState } from '../../redux/Types'
import { connect } from 'react-redux'


export function mapStateToProps({thdemand: { record } }: StoreState) {
  return {
    record
  }
}
export default connect(mapStateToProps)(ThdemandInfo)